home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 007a / cug315.zip / NONMOUSE.C < prev    next >
C/C++ Source or Header  |  1990-05-16  |  2KB  |  107 lines

  1.  
  2. /* NONMOUSE.C is a dummy replacement for MOUSELIB.C for people who */
  3. /* don't have mice.  Written 4/89 by T. Clune.  No rights reserved. */
  4. /* inpause() and mouse_gets() dummies added 9/89 */
  5.  
  6.  
  7. #include "mouselib.h"
  8.  
  9.  
  10. mstruc button_clicks(button)
  11. int button;
  12. {
  13.     mstruc b;
  14.  
  15.     printf("This system does not support mouse operation.  Press any key.\n");
  16.     getch();
  17.  
  18.     return b;
  19.  
  20. }
  21.  
  22.  
  23.  
  24.  
  25. mstruc button_read()
  26. {
  27.     mstruc b;
  28.  
  29.     printf("This system does not support mouse operation.  Press any key.\n");
  30.     getch();
  31.  
  32.     return b;
  33. }
  34.  
  35.  
  36. int inpause()
  37. {
  38.     int i;
  39.  
  40.     printf("This system does not support mouse operation.  Press any key.\n");
  41.     i=getch();
  42.  
  43.     return i;
  44. }
  45.  
  46. mstruc m_install()
  47. {
  48.  
  49.     mstruc m;
  50.  
  51.     printf("This system does not support mouse operation.  Press any key.\n");
  52.     getch();
  53.  
  54.     return m;
  55.  
  56. }
  57.  
  58.  
  59.  
  60.  
  61.  
  62. mstruc mdpos_read()
  63. {
  64.  
  65.     mstruc m;
  66.  
  67.     printf("This system does not support mouse operation.  Press any key.\n");
  68.     getch();
  69.  
  70.     return m;
  71.  
  72. }
  73.  
  74.  
  75.  
  76. void mouse_clear()
  77. {
  78.  
  79.     printf("This system does not support mouse operation.  Press any key.\n");
  80.     getch();
  81.  
  82. }
  83.  
  84.  
  85. char * mouse_gets(string)
  86. char string[];
  87. {
  88.     printf("This system does not support mouse operation.  Press any key.\n");
  89.     getch();
  90.  
  91.     return string;
  92. }
  93.  
  94.  
  95.  
  96. mstruc mouse_response()
  97. {
  98.     mstruc ret_val;
  99.  
  100.     printf("This system does not support mouse operation.  Press any key.\n");
  101.     getch();
  102.  
  103.     return ret_val;
  104.  
  105. }
  106.  
  107.